package cn.tedu.cwgl.mapper;

import cn.tedu.cwgl.entity.Card;
import cn.tedu.cwgl.util.PageModel;
import cn.tedu.cwgl.util.Result;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CardMapper {
    List<Card> getCard(PageModel<Card> model);

    int getCardTotal(PageModel<Card> model);

    List<Card> getCardType();

    int updateCard(Card card);

    int delCard(int id);

    int addCard(Card card);
}
